<!DOCTYPE html>
<html>
  <head>
    <title>chengfabiao.html</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <style type="text/css">
    .a{color:red;}
    .b{color:blue;}
    .c{color:green;}
    </style>
  </head>
  
  <body>
  <p class="a"> 九九乘法表</p>
   <script type="text/javascript">
   var i;
   var j;
   for(i=1;i<=9;i++){
   		if(i%2==1)
   		{
   			document.write('<p class="b" >');
   		}
   		else
   		{
   			document.write('<p class="c" >');
   		}
   		for(j=1;j<=i;j++)
   		{
   				document.write(i+"*"+j+"="+i*j+"   ");
   		}
   		document.write("</p>");
   }
   
   
   
   
   </script>
  </body>
</html>
